//
// Created by zhupi on 2024/10/27.
//

#include "python_window_dialog.h"
#include <QVBoxLayout>

PythonWindowDialog::PythonWindowDialog(QWidget *widget) :QDialog(widget)
{

}

void PythonWindowDialog::Iitial() {
    if (widget_ != nullptr) {}
    delete widget_;
    widget_ = nullptr;

    QVBoxLayout *vbox =new QVBoxLayout(this);

    widget_ = new CommandLineWidget(this);
    vbox->addWidget(widget_);
    this->setLayout(vbox);
}
